Not a Touch Device
IOS Device
Haptic Feedback
Works on both Android and IOS.
Global haptics disabled
This package detects if your device supports touch and is running Android or iOS. On Android, it uses the Vibrations API for haptic feedback. On iOS, it relies on a checkbox switch, which triggers native haptics. To use it, call initialize_haptic when the page loads, then use soft_haptic, heavy_haptic, or double_haptic to trigger feedback.